/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved.
 */
package com.icinfo.cloud.provider.punish.config.service;

import com.icinfo.cloud.provider.punish.config.dto.ConfigDictionaryCaseSourceInfoQueryDto;
import com.icinfo.cloud.provider.punish.config.dto.ConfigDictionaryInfoQueryDto;
import com.icinfo.cloud.provider.punish.config.model.ConfigDictionaryInfo;
import com.icinfo.cloud.provider.punish.config.vo.ConfigDictionaryCaseSourceInfoVo;
import com.icinfo.cloud.provider.punish.config.vo.ConfigDictionaryInfoVo;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * 描述: 数据字典配置表 config_dictionary_info 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2022年02月15日
 */
public interface IConfigDictionaryInfoService extends BaseService {

    /**
     * 【V1.0.0】描述：查询指定数据字典列表信息
     *
     * @param queryDto {@link ConfigDictionaryInfoQueryDto}
     * @return {@link List<ConfigDictionaryInfoVo>} 数据字典列表信息
     * @author xiangyuyu
     * @date 2022-02-23 20:40
     */
    List<ConfigDictionaryInfoVo> getConfigDictionaryList(ConfigDictionaryInfoQueryDto queryDto);

    /**
     * 【V1.0.0】描述：查询指定数据字典列表信息
     *
     * @param queryDto {@link ConfigDictionaryInfoQueryDto}
     * @return {@link List<ConfigDictionaryInfoVo>} 数据字典列表信息
     * @author xiangyuyu
     * @date 2022-02-23 20:40
     */
    List<ConfigDictionaryCaseSourceInfoVo> getConfigDictionaryCaseSourceList(ConfigDictionaryCaseSourceInfoQueryDto queryDto);

    /**
     * 根据字典域编码和字典值编码获取对应的字典值名称
     * @param dicFieldCode
     * @param dicCode
     * @return
     */
    ConfigDictionaryInfo getConfigDictionaryByFieldCodeAndDicCode(String dicFieldCode, String dicCode);
}
